package practice.library.gremlin_scala.utility

import org.joda.time.DateTime

/**
  * Created by lovepocky on 16/6/22.
  */
object CustomGremlinUtility {

	import gremlin.scala._

	//implicit def string2KeyString(x: String): Key[String] = Key[String](x)

	implicit def javaDate2JodaDate(x: java.util.Date): DateTime = new DateTime(x)

	implicit def jodaDate2JavaDate(x: DateTime): java.util.Date = x.toDate

}